# -*- coding: utf-8 -*-
import KBEngine
from KBEDebug import *


class FirstEntity(KBEngine.Entity):

    def __init__(self):
        KBEngine.Entity.__init__(self)

    def hello(self, content):
        INFO_MSG("YuChengwu,I'm %s. I got your content=%s" % (self.name, content))

    def createCell(self, sceneCell):
        """
        创建cell部分
        :param sceneCell:场景的cellEntityCall
        """
        # API：创建该实体的cell部分
        self.createCellEntity(sceneCell)